public class MusicPlayer {
    public static void main(String[] args) {
        // 初始化播放器和播放列表
        Playlist playlist = new Playlist();
        Player player = new BasicPlayer();
        
        // 创建并显示GUI
        MusicPlayerGUI gui = new MusicPlayerGUI(playlist, player);
        gui.createAndShowGUI();
    }
}